package logic.courseSelect_logic;

import resultmessage.CourseSelectRM;
import datasv.courseSelect_datasv.CourseSelectDatasv;
import datasv.datafactorysv.CourseSelectDatasvFactory;

public class CourseSelect {
	private CourseSelectDatasv courseSD = new CourseSelectDatasvFactory().create();
	public CourseSelectRM select(String courseID,String studentID){
		return courseSD.addSelectRecord(courseID, studentID);
	}
	public CourseSelectRM drop(String courseID,String studentID){
		return courseSD.deleteSelectRecord(courseID, studentID);
	}
	
}
